namespace NFreeMarker.Core
{
    public sealed class FallbackInstruction : TemplateElement // NOTE: Was internal
    {
        internal override void Accept(Environment env)
        {
            env.Fallback();
        }

        public override string GetCanonicalForm()
        {
            return "<#fallback/>";
        }

        public override string GetDescription()
        {
            return "fallback instruction";
        }
    }
}